package com.college.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 学生信息
 * </p>
 *
 * @author yoki
 * @since 2024-05-29
 */
@Getter
@Setter
@TableName("student_info")
@ApiModel(value = "StudentInfo对象", description = "学生信息")
public class StudentInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("学号（学生唯一标识）")
    @TableField("student_number")
    private String studentNumber;

    @ApiModelProperty("学生姓名")
    @TableField("student_name")
    private String studentName;

    @ApiModelProperty("年龄")
    @TableField("student_age")
    private Integer studentAge;

    @ApiModelProperty("性别（0是女生，1是男生）")
    @TableField("student_sex")
    private Integer studentSex;

    @ApiModelProperty("班级编号")
    @TableField("class_number")
    private String classNumber;

    @ApiModelProperty("是否在学校（0是在校，1是不在）")
    @TableField("in_school")
    private Integer inSchool;

    @ApiModelProperty("专业编号")
    @TableField("major_number")
    private String majorNumber;

    @ApiModelProperty("入学时间")
    @TableField("enrollment_time")
    private Date enrollmentTime;

    @ApiModelProperty("年级")
    @TableField("grade")
    private String grade;

    @ApiModelProperty("时间戳")
    @TableField("time_stamp")
    private Date timeStamp;


}
